using System;
using System.Collections;
using System.Collections.Generic;
using TTSDK;
using TTSDK.UNBridgeLib.LitJson;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

public class MainManager : MonoBehaviour
{
    public Button StartButton,siderBarButton;

    private void Awake()
    {
        var data = new JsonData()
        {
            ["scene"] = "SideBar"
        };
        StartButton.onClick.AddListener(()=>SceneManager.LoadScene("Level_01"));
        siderBarButton.onClick.AddListener(()=>TT.NavigateToScene(data,null,null,null));
    }
}
